<template>
	<view>
		<view class="coure_card_box" @click="openUrl">
		<view class="coure_card_img">
			<image :src="policy.logo"></image>
		</view>
		<view class="coure_card_txt">
			<view class="coure_card_title">{{policy.title}}</view>
			<view class="coure_card_info_txt">
				<view class="info_txt1">{{policy.locaton}}</view>
			</view>
		</view>
		
	</view>
	</view>
	
			
	
	
</template>

<script>
	
	export default {
		data() {
			return {
				
			}
		},
		props:["policy"],
		methods: {
		 openUrl(item) {
		        uni.navigateTo({
		          url:'/pages/webPage/webPage?url=' + this.policy.url
		        })
		      }
		},
		mounted(){
			
		}
	}
</script>


<style lang="scss">
	.coure_card_box{
		width: 700rpx;
		display: flex;
		padding: 10px 0;
		margin: 0px;
		border-radius: 20px;
		box-sizing: borser-box;
		aligin-items:center;
		margin-bottom: 15px;
		background-color: #8F939C;
		.coure_card_img{
			flex-shrink: 0;
			width: 91rpx;
			height: 91rpx;
			border-radius: 100%;
			margin: 0 5px;
			image{
				width:100%;
				height:100%;
				border-radius:100%;
			}
		}
		.coure_card_txt{
			width: 90%;
			display: flex;
			box-sizing: border-box;
			flex-direction: column;
			padding:0;
			.coure_card_title{
				font-size: 12px;
				font-weight:700;
				white-space: nowrap;
				text-overflow:ellipsis;
				overflow: hidden;
				margin: 10px 0;
			}
			.coure_card_info_txt{
				width: 50%;
				overflow: hidden;
				font-size: 10px;
				color:#303133;
				.info_txt1{
					height: 20px;
					font-size: 10px;
					overflow: hidden;
				}
			}
			
		}
		.coure_card_btn{
			width: 100px;
			height: 34px;
			text-align: center;
			line-height: 34px;
			border-radius: 34px;
			background-color: #18BC37;
			color: #FFFFFF;
			font-size: 16px;
			margin-top:50px ;
		}
		.coure_card_btn1{
			
			background-color: #303133;
		}
	}
</style>
